﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    public class NhanVien
    {
        [MapField("IdNhanVien"),PrimaryKey]
        public string MaNhanVien { get; set; }
        [MapField("IdBoPhan")]
        public string MaBoPhan { get; set; }
  
        public string TenNhanVien { get; set; }
        public string SoDienThoai { get; set; }
        public string Email { get; set; }
        public DateTime NamSinh { get; set; }
       // public string GioiTinh { get; set; }
 

       

 

        [Association(ThisKey="IdNhanVien",OtherKey="IdDiaChi")]
        public DiaChi DiaChi { get; set; }
  
        [Association(ThisKey = "IdBoPhan", OtherKey = "IdChucVu")]
        public BoPhan BoPhans { get; set; }
    


    }
}
